﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LittleBirdAuction.Core
{
    public class Coordinate
    {
        private double x;
        public double X
        {
            get { return x; }
        }

        private double y;
        public double Y
        {
            get { return y; }
        }

        private CoordinateTypeEnum mCoordinateType = CoordinateTypeEnum.CENTER;
        internal CoordinateTypeEnum CoordinateType
        {
            get { return mCoordinateType; }
        }

        public Coordinate(double x_, double y_, CoordinateTypeEnum coordinateType)
        {
            x = x_;
            y = y_;
            mCoordinateType = coordinateType;
        }


        public Coordinate(double x_, double y_)
        {
            x = x_;
            y = y_;
            mCoordinateType = CoordinateTypeEnum.CENTER;
        }
    }

    /**/
    public enum CoordinateTypeEnum
    {
        CENTER,
        LEFT,
        RIGHT,
    };
}
